
#ifndef _C_NEXTPEER_H
#define _C_NEXTPEER_H



#ifdef __cplusplus
#define EXTERN_C extern "C"
#else
#define EXTERN_C extern
#endif



typedef	void (*OnCDashBoardShowCB)(void);
typedef	void (*OnCDashBoardHideCB)(void);


EXTERN_C void  CInitNextPeer
                          (
                          const char* Key,
                          OnCDashBoardShowCB POnCDashBoardShowCB,
                          OnCDashBoardHideCB POnCDashBoardHideCB
                          );

EXTERN_C void   CReportScoreNextPeer(int Score);
EXTERN_C void   ReportForfeitForCurrentTournament(void);
EXTERN_C void   CLaunchDashboardNextPeer(void);
EXTERN_C void   CShutDownNextPeer(void);
 

EXTERN_C void 	CReportForfeitForCurrentTournament(void);
EXTERN_C void 	CReportControlledTournamentOver(int Score);
EXTERN_C void 	CSetCurrentTournament(const char* LevelID);


/**
 This is where OpenGL games should unpause and resume playback.
 */
EXTERN_C void CNextpeerDashboardDidDisappear(void);

/**
 This is where you should pause your game.
 */
EXTERN_C void CNextpeerDashboardWillAppear(void);





#endif